Skip to content

PDFContentStreamContainer.MapMarkedContentIdentifierToStructureElement Method

MapMarkedContentIdentifierToStructureElement(Int32,PDFStructureElement)

Maps a marked content sequence identifier to a structure element.

C#
public void MapMarkedContentIdentifierToStructureElement(int markedContentIdentifier, PDFStructureElement structureElement)

Parameters

markedContentIdentifier Int32

The identifier of the marked content sequence.

structureElement PDFStructureElement

The structure element.

Remarks

This method needs to be called when a marked content sequence is created using O2S.Components.PDF4NET.Graphics.PDFCanvas.BeginStructureElement method. The marked content identifier returned by this method needs to be mapped to the PDFStructureElement that includes it.